Skip Headers

Oracle® Database SQL Reference 10g Release 2 (10.2) Part Number B14200-02 |
Home | Book List | Contents | Index | Master Index | Feedback

Previous | Next
| View PDF

# SYS_EXTRACT_UTC

Syntax

Description of the illustration sys_extract_utc.gif

Purpose

`SYS_EXTRACT_UTC` extracts the UTC (Coordinated Universal Time--formerly Greenwich Mean Time) from a datetime value with time zone offset or time zone region name.

Examples

The following example extracts the UTC from a specified datetime:

    SELECT SYS_EXTRACT_UTC(TIMESTAMP '2000-03-28 11:30:00.00 -08:00')
       FROM DUAL;

    SYS_EXTRACT_UTC(TIMESTAMP'2000-03-2811:30:00.00-08:00')
    -----------------------------------------------------------------
    28-MAR-00 07.30.00 PM